package org.dlsu.mt;

import org.dlsu.mt.parser.Word;
/**
 * The dictionary interface is used to bridge the lexical analyzer to the lexicon dictionary.
 * This interface requires the implementation of the lookup method which retrieves the appropriate
 * from the dictionary.
 */
public interface DictionaryInterface
{
	/**
	 * Looks up a given word from the lexicon dictionary
	 *
	 * @param word The word to lookup as a Word object
	 * @return The looked-up word
	 */
	public Word lookup(Word word);
	/**
	 * Looks up a given word from the lexicon dictionary
	 *
	 * @param word The word to lookup as a string
	 * @return The looked-up word
	 */
	public Word lookup(String inputWord);
}